import menuController from "../controller/menu-controller";

export default [
  // 直接获取所有一级菜单
  {
    path: '/web/menu/getOneLevelMenusList',
    method: 'post',
    action: menuController.getOneLevelMenusList
  },
  // 通过角色权限来获取菜单列表
  {
    path: '/web/menu/getMenus',
    method: 'post',
    action: menuController.getMenus
  },
];
